package com.wei.czz.common.vo.store.assign;

import com.wei.czz.common.jsr303.group.Save;
import com.wei.czz.common.jsr303.group.Submit;
import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-12-30 20:05:52
 * className: AssignParamVo
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class AssignParamVo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { Save.class, Submit.class })
    private Long id;

    /**
     * 商店主键
     */
    @NotNull(message = "商店主键不能为空", groups = { Save.class, Submit.class })
    private Long storeId;

    /**
     * 提交类型[0-商店提交 1-商店修改 2-添加商店账户 3-商店账户修改 4-添加商店老板 5-商店老板修改]
     */
    @NotNull(message = "提交类型不能为空", groups = { Save.class, Submit.class })
    private Integer submitType;

}
